<?
function scotExport() {
	require(dirname(__file__).'/scot-setting.php');
	require(dirname(__file__).'/soct-wp-source.php');

	$source = new WPSource();
	
	$model = new PscotModel($source);
	
	$model->makeModel(1);

	if($model->getTotalTags() != 0) {
	
		$serializer = new RDFSerializer($model);
		
		$serializer->serialize(ABSPATH.'/scot/scot.rdf');
	}
}
?>